﻿using DeMeng.Models.Base;
using DeMeng.Models.Enums.UserInfo;
using System;
using System.Collections.Generic;
using System.Text;

namespace DeMeng.Models.Models.UserInfo
{

    /// <summary>
    /// 用户收货地址
    /// </summary>
    [SqlSugar.SugarTable("UserAddress")]
    public class UserAddressEntity : BaseEntity
    {

        /// <summary>
        ///UserId
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }


        /// <summary>
        /// 性别
        /// </summary>
        public SexEnum Sex { get; set; }

        /// <summary>
        /// 手机号
        /// </summary>
        public string Phone { get; set; }


        /// <summary>
        /// 省
        /// </summary>
        public string Province { get; set; }
        /// <summary>
        /// 市
        /// </summary>
        public string City { get; set; }
        /// <summary>
        /// 县/区
        /// </summary>
        public string Area { get; set; }

        /// <summary>
        /// 详细地址
        /// </summary>
        public string DetailAddress { get; set; }

        /// <summary>
        /// 是否默认收货地址 
        /// </summary>
        public bool IsDefault { get; set; }

    }
}
